﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.课堂练习3.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>为你喜欢的运动员加油</title>
    <style>
table {
  border-collapse: collapse;
}

td, th {
    margin:auto;
  border: 1px solid #999;
  padding: 0.5rem;
  text-align: left;
}
</style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:Label ID="Label_ip" runat="server" Text="ip lable" ForeColor="#009900"></asp:Label>
            <br />
            <br />
            <table>
                <tr>
                    <td><center> 在线投票</center></td>
                </tr>
                <tr>
                    <td>为你喜欢的运动员加油！</td>
                </tr>
                <tr>
                    <td>
                        <asp:RadioButtonList ID="RadioButtonList1" runat="server" BorderStyle="None">
                            <asp:ListItem Selected="True">丁俊晖</asp:ListItem>
                            <asp:ListItem>李娜</asp:ListItem>
                            <asp:ListItem>刘翔</asp:ListItem>
                            <asp:ListItem>姚明</asp:ListItem>
                            <asp:ListItem>孙笑川</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <center>
                        <asp:Button ID="Button1" runat="server" Text="投票" OnClick="Button1_Click" />

                        </center>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
